<?php

namespace app\organization\controller;

use app\common\controller\Frontend;
use app\common\model\banxi\organization\OrganizationLevelConfig;

/**
 * 用户
 */
class User extends Frontend
{
    protected array $noNeedLogin = [];

    protected array $noNeedPermission = ['*'];

    public function initialize(): void
    {
        parent::initialize();
    }


    /**
     * 密码登录
     * @return void
     */
    public function getUserInfo(): void
    {
        $userInfo = $this->auth->getUserInfo();
        $this->ok(__('Operation completed'), $userInfo);
    }

}